package cn.iocoder.yudao.module.call.service.ivrknowledgeissuevoice;

import java.util.*;
import javax.validation.*;
import cn.iocoder.yudao.module.call.controller.admin.ivrknowledgeissuevoice.vo.*;
import cn.iocoder.yudao.module.call.dal.dataobject.ivrknowledgeissuevoice.IvrKnowledgeIssueVoiceDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * ivr-知识库回答语音 Service 接口
 *
 * @author 数创万维
 */
public interface IvrKnowledgeIssueVoiceService {

    /**
     * 创建ivr-知识库回答语音
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createIvrKnowledgeIssueVoice(@Valid IvrKnowledgeIssueVoiceSaveReqVO createReqVO);

    Integer issueSynthesisVoice(Long id, String voiceType);

    /**
     * 更新ivr-知识库回答语音
     *
     * @param updateReqVO 更新信息
     */
    void updateIvrKnowledgeIssueVoice(@Valid IvrKnowledgeIssueVoiceSaveReqVO updateReqVO);

    /**
     * 删除ivr-知识库回答语音
     *
     * @param id 编号
     */
    void deleteIvrKnowledgeIssueVoice(Long id);

    /**
     * 获得ivr-知识库回答语音
     *
     * @param id 编号
     * @return ivr-知识库回答语音
     */
    IvrKnowledgeIssueVoiceDO getIvrKnowledgeIssueVoice(Long id);

    /**
     * 获得ivr-知识库回答语音分页
     *
     * @param pageReqVO 分页查询
     * @return ivr-知识库回答语音分页
     */
    PageResult<IvrKnowledgeIssueVoiceDO> getIvrKnowledgeIssueVoicePage(IvrKnowledgeIssueVoicePageReqVO pageReqVO);

}